package com.xwdeshj.repository;

import com.xwdeshj.entity.XwScenicBasicinfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by BKWJA on 2018/12/24.
 * 景区店铺基本信息
 */
public interface XwScenicBasicinfoRepository extends JpaRepository<XwScenicBasicinfo,Integer> {

    //根据景区店铺加密id，删除对应的相关记录
    public void deleteByScenicEncryptid(String sec_encryptId);

    //根据景区店铺加密id，获取对应的相关记录
    public XwScenicBasicinfo findByScenicEncryptid(String sec_encryptId);

}
